package com.micro.modual.entity;

import javax.persistence.Id;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.Table;
import java.io.Serializable;
					    import java.util.Date;
												
/**
 *
 * <h1>用户收藏表表 micro_user_collect</h1>
 * @author levelcoder
 * @date 2020-08-04 00:11:09
 */
@ApiModel(description = "用户收藏表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "micro_user_collect")
public class UserCollect implements Serializable{

	private static final long serialVersionUID = 1L;

	@Id
    @ApiModelProperty(value = "主键编号")
	private Long id;

	
			
					/**
			 * 用户编号
			 */
        	@ApiModelProperty(value = "用户编号")
			private String userCode;

			
					/**
			 * 收藏类别 1 商品  2文章
			 */
        	@ApiModelProperty(value = "收藏类别 1 商品  2文章")
			private Byte collectType;

			
					/**
			 * 收藏内容编号
			 */
        	@ApiModelProperty(value = "收藏内容编号")
			private String collectContentCode;

			
					/**
			 * 收藏时间
			 */
        	@ApiModelProperty(value = "收藏时间")
			private Date createTime;

			}
